import Vue from 'vue'
import App from '@/App.vue'
import router from '@/router'
import TypeNav from "@/components/TypeNav";
// import {reqCategoryList} from '@/api'
import store from '@/store'
import '@/mock/mockServer'
import "swiper/css/swiper.css";
import Swiper from '@/components/Swiper'
// reqCategoryList()
//注册全局组件
Vue.component('TypeNav',TypeNav)
Vue.component('Swiper',Swiper)

Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  router,//注册路由器
  store
}).$mount('#app')
